package xuming.com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class TestControllerw {

	@RequestMapping("/test.html")
	public ModelAndView test(){
		ModelAndView mav=new ModelAndView();
		String str="this is test";
		mav.addObject("aaa", str);
		mav.setViewName("/test");
		return mav;
	}
}
